package org.example.struct.array;

import java.util.Arrays;

/**
 * @author liyishan
 * @date 2024/8/8 09:02
 * @apiNote
 */

public class Test03131AddedInteger {
    public int addedInteger(int[] nums1, int[] nums2) {
        return Arrays.stream(nums2).min().getAsInt() - Arrays.stream(nums1).min().getAsInt();
    }
}
